package com.changhongit.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.changhongit.base.impl.BaseDaoImpl;
import com.changhongit.dao.ServiceProjectDao;
import com.changhongit.entity.ServiceProject;

@Repository("serviceProjectDao")
public class ServiceProjectDaoImpl extends BaseDaoImpl<ServiceProject> implements
		ServiceProjectDao {

	@Override
	public List<ServiceProject> findAllByServiceId(int id) {
		return getSqlSession().selectList("serviceproject.findAllByServiceId", id);
	}
}
